package com.bwhx.eruler.service.casdilly.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.casdilly.SizeRuleCS;
import com.bwhx.eruler.dao.casdilly.SizeRuleCSDAO;
import com.bwhx.eruler.service.casdilly.SizeRuleCSService;

@Service
public class SizeRuleCSServiceImpl implements SizeRuleCSService {
	
	@Autowired
	SizeRuleCSDAO sizeRulerCSDAO;
	
	



	@Override
	public List<SizeRuleCS> list(Page p) {
		return sizeRulerCSDAO.list(p);
	}



	@Override
	public Integer count(SizeRuleCS SizeRule) {
		return sizeRulerCSDAO.count(SizeRule);
	}



	@Override
	public void insert(SizeRuleCS SizeRule) {
		sizeRulerCSDAO.insert(SizeRule);
	}



	@Override
	public void update(SizeRuleCS sizeRule) {
		sizeRulerCSDAO.update(sizeRule);
		
	}



	@Override
	public void delete(SizeRuleCS sizeRuleCS) {
		sizeRulerCSDAO.delete(sizeRuleCS);
		
	}



	@Override
	public SizeRuleCS findConflict(SizeRuleCS sizeRuleCS) {
		 return sizeRulerCSDAO.findConflict(sizeRuleCS);
	}






	
}
